import React from 'react';

const Movie = ({movie}) => {
    return (
        <div className="movie">
            <h2>{movie.Title}</h2>
            <div>
                <img src={movie.Poster} alt={`the movie titled: ${movie.Title}`} width="200" />
            </div>
            <p>{ movie.Year }</p>
        </div>
    )
}

export default Movie;